/******************* 公共变量 *******************/
var list = JSON.parse(core.ls('activityList', 'o'));

for (var i = 0; i < list.length; i++) {
	list[i].gift = core.decimalRound(Number(list[i].gift), 0);
}

/******************* Vue初始化代码 *******************/
var vm = new Vue({
	el: '.wrap',
	data: {
		list: list,
		activity: activityUrl
	},
	methods: {
		
	},
	computed: {
		
	},
	components: {
		
	},
	created: function () {
		
	},
	mounted: function () {
		common.bindBack();
		common.beforeBack = function () {
			core.lsDel('activityList', 'remove');
		}
	}
});

